package com.hover.pojo;

import lombok.Data;
import lombok.ToString;

/**
 * @author: wei
 * @create: 2020-07-24
 **/
@Data
@ToString
public class Student {
    private int id;
    private String name;
    //多对一时
    private Teacher teacher;
    //一对多时
    private int tid;
}
